#include <iostream>

int main(int argc, char *argv[]) {

  int arr[] = {1, 2, 3};

  int *p = &arr[1];
  std::cout << p[-1] << "\n";
  std::cout << p[0] << "\n";
  std::cout << p[1] << "\n";
}
